home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / M / Lex.cpt / Lex / LEXLIB.π folder / LMOVI.C < prev    next >
MacBinary  |  1990-06-13  |  1.9 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: LMOVI.C

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Jun 13 00:10:28 1990, modified Wed Jun 13 00:10:28 1990, creator Think C, type ASCII, 1315 bytes "LMOVI.C" , at 0x5a3 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 4c 4d 4f 56 49 2e | 43 00 00 00 00 00 00 00 |..LMOVI.|C.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 05 23 00 | 00 01 7e a2 9b 6d 34 a2 |......#.|..~..m4.|
|00000060| 9b 6d 34 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.m4.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f6 1b 00 00 |........|........|
|00000080| 2f 2a 0d 20 20 48 45 41 | 44 45 52 3a 20 43 55 47 |/*. HEA|DER: CUG|
|00000090| 20 20 20 20 6e 6e 6e 2e | 6e 6e 3b 0d 20 20 54 49 | nnn.|nn;. TI|
|000000a0| 54 4c 45 3a 09 4c 45 58 | 20 2d 20 41 20 4c 65 78 |TLE:.LEX| - A Lex|
|000000b0| 69 63 61 6c 20 41 6e 61 | 6c 79 73 65 72 20 47 65 |ical Ana|lyser Ge|
|000000c0| 6e 65 72 61 74 6f 72 0d | 20 20 56 45 52 53 49 4f |nerator.| VERSIO|
|000000d0| 4e 3a 20 20 20 20 20 20 | 20 31 2e 30 20 66 6f 72 |N: | 1.0 for|
|000000e0| 20 49 42 4d 2d 50 43 0d | 20 20 44 41 54 45 3a 09 | IBM-PC.| DATE:.|
|000000f0| 4a 61 6e 20 33 30 2c 20 | 31 39 38 35 0d 20 20 44 |Jan 30, |1985. D|
|00000100| 45 53 43 52 49 50 54 49 | 4f 4e 3a 20 20 20 41 20 |ESCRIPTI|ON: A |
|00000110| 4c 65 78 69 63 61 6c 20 | 41 6e 61 6c 79 73 65 72 |Lexical |Analyser|
|00000120| 20 47 65 6e 65 72 61 74 | 6f 72 2e 20 46 72 6f 6d | Generat|or. From|
|00000130| 20 55 4e 49 58 0d 20 20 | 4b 45 59 57 4f 52 44 53 | UNIX. |KEYWORDS|
|00000140| 3a 20 20 20 20 20 20 4c | 65 78 69 63 61 6c 20 41 |: L|exical A|
|00000150| 6e 61 6c 79 73 65 72 20 | 47 65 6e 65 72 61 74 6f |nalyser |Generato|
|00000160| 72 20 59 41 43 43 20 43 | 20 50 52 45 50 0d 20 20 |r YACC C| PREP. |
|00000170| 53 59 53 54 45 4d 3a 09 | 49 42 4d 2d 50 43 20 61 |SYSTEM:.|IBM-PC a|
|00000180| 6e 64 20 43 6f 6d 70 61 | 74 69 61 62 6c 65 73 0d |nd Compa|tiables.|
|00000190| 20 20 46 49 4c 45 4e 41 | 4d 45 3a 20 20 20 20 20 | FILENA|ME: |
|000001a0| 20 4c 4d 4f 56 49 2e 43 | 0d 20 20 57 41 52 4e 49 | LMOVI.C|. WARNI|
|000001b0| 4e 47 53 3a 20 20 20 20 | 20 20 54 68 69 73 20 70 |NGS: | This p|
|000001c0| 72 6f 67 72 61 6d 20 69 | 73 20 6e 6f 74 20 66 6f |rogram i|s not fo|
|000001d0| 72 20 74 68 65 20 63 61 | 73 75 61 6c 20 75 73 65 |r the ca|sual use|
|000001e0| 72 2e 20 49 74 20 77 69 | 6c 6c 0d 09 62 65 20 75 |r. It wi|ll..be u|
|000001f0| 73 65 66 75 6c 20 70 72 | 69 6d 61 72 69 6c 79 20 |seful pr|imarily |
|00000200| 74 6f 20 65 78 70 65 72 | 74 20 64 65 76 65 6c 6f |to exper|t develo|
|00000210| 70 65 72 73 2e 0d 20 20 | 43 52 43 3a 09 4e 2f 41 |pers.. |CRC:.N/A|
|00000220| 0d 20 20 53 45 45 2d 41 | 4c 53 4f 3a 20 20 20 20 |. SEE-A|LSO: |
|00000230| 20 20 59 41 43 43 20 61 | 6e 64 20 50 52 45 50 0d | YACC a|nd PREP.|
|00000240| 20 20 41 55 54 48 4f 52 | 53 3a 20 20 20 20 20 20 | AUTHOR|S: |
|00000250| 20 53 63 6f 74 74 20 47 | 75 74 68 65 72 79 20 31 | Scott G|uthery 1|
|00000260| 31 31 30 30 20 6c 65 61 | 66 77 6f 6f 64 20 6c 61 |1100 lea|fwood la|
|00000270| 6e 65 20 41 75 73 74 69 | 6e 2c 20 54 58 20 37 38 |ne Austi|n, TX 78|
|00000280| 37 35 30 0d 20 20 43 4f | 4d 50 49 4c 45 52 53 3a |750. CO|MPILERS:|
|00000290| 20 20 20 20 20 44 45 53 | 4d 45 54 2d 43 0d 20 20 | DES|MET-C. |
|000002a0| 52 45 46 45 52 45 4e 43 | 45 53 3a 20 20 20 20 55 |REFERENC|ES: U|
|000002b0| 4e 49 58 20 53 79 73 74 | 65 6d 73 20 4d 61 6e 75 |NIX Syst|ems Manu|
|000002c0| 61 6c 73 0d 2a 2f 0d 2f | 2a 0d 20 2a 20 42 6f 62 |als.*/./|*. * Bob|
|000002d0| 20 44 65 6e 6e 79 20 20 | 20 20 20 32 38 2d 41 75 | Denny | 28-Au|
|000002e0| 67 2d 38 32 20 20 52 65 | 6d 6f 76 65 20 72 65 66 |g-82 Re|move ref|
|000002f0| 65 72 65 6e 63 65 20 74 | 6f 20 73 74 64 69 6f 2e |erence t|o stdio.|
|00000300| 68 0d 20 2a 20 53 63 6f | 74 74 20 47 75 74 68 65 |h. * Sco|tt Guthe|
|00000310| 72 79 20 32 30 2d 4e 6f | 76 2d 38 33 20 20 20 20 |ry 20-No|v-83 |
|00000320| 20 20 41 64 61 70 74 20 | 66 6f 72 20 49 42 4d 20 | Adapt |for IBM |
|00000330| 50 43 20 26 20 44 65 53 | 6d 65 74 20 43 0d 20 2a |PC & DeS|met C. *|
|00000340| 2f 0d 0d 23 69 6e 63 6c | 75 64 65 09 3c 73 74 64 |/..#incl|ude.<std|
|00000350| 69 6f 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 09 3c |io.h>.#i|nclude.<|
|00000360| 63 74 79 70 65 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |ctype.h>|.#includ|
|00000370| 65 09 22 6c 65 78 2e 68 | 22 0d 0d 5f 6c 6d 6f 76 |e."lex.h|".._lmov|
|00000380| 69 28 6c 74 61 62 5f 70 | 74 72 2c 20 74 68 65 5f |i(ltab_p|tr, the_|
|00000390| 63 68 61 72 2c 20 73 74 | 61 74 65 29 0d 72 65 67 |char, st|ate).reg|
|000003a0| 69 73 74 65 72 20 73 74 | 72 75 63 74 20 6c 65 78 |ister st|ruct lex|
|000003b0| 74 61 62 20 2a 6c 74 61 | 62 5f 70 74 72 3b 0d 72 |tab *lta|b_ptr;.r|
|000003c0| 65 67 69 73 74 65 72 20 | 69 6e 74 20 20 20 20 74 |egister |int t|
|000003d0| 68 65 5f 63 68 61 72 3b | 0d 72 65 67 69 73 74 65 |he_char;|.registe|
|000003e0| 72 20 69 6e 74 20 20 20 | 20 73 74 61 74 65 3b 0d |r int | state;.|
|000003f0| 7b 0d 09 69 6e 74 20 62 | 61 73 65 3b 0d 0d 09 77 |{..int b|ase;...w|
|00000400| 68 69 6c 65 20 28 28 62 | 61 73 65 20 3d 20 6c 74 |hile ((b|ase = lt|
|00000410| 61 62 5f 70 74 72 2d 3e | 6c 6c 62 61 73 65 5b 73 |ab_ptr->|llbase[s|
|00000420| 74 61 74 65 5d 2b 74 68 | 65 5f 63 68 61 72 29 20 |tate]+th|e_char) |
|00000430| 3e 20 6c 74 61 62 5f 70 | 74 72 2d 3e 6c 6c 6e 78 |> ltab_p|tr->llnx|
|00000440| 74 6d 61 78 20 7c 7c 0d | 09 09 28 28 69 6e 74 20 |tmax ||.|..((int |
|00000450| 2a 29 6c 74 61 62 5f 70 | 74 72 2d 3e 6c 6c 63 68 |*)ltab_p|tr->llch|
|00000460| 65 63 6b 29 5b 62 61 73 | 65 5d 20 21 3d 20 73 74 |eck)[bas|e] != st|
|00000470| 61 74 65 29 0d 09 09 69 | 66 20 28 73 74 61 74 65 |ate)...i|f (state|
|00000480| 20 21 3d 20 6c 74 61 62 | 5f 70 74 72 2d 3e 6c 6c | != ltab|_ptr->ll|
|00000490| 65 6e 64 73 74 29 0d 09 | 09 09 7b 0d 09 09 09 2f |endst)..|..{..../|
|000004a0| 2a 0d 09 09 09 20 2a 20 | 54 68 69 73 20 6d 69 73 |*.... * |This mis|
|000004b0| 63 6f 6d 70 69 6c 65 64 | 20 6f 6e 20 44 65 63 75 |compiled| on Decu|
|000004c0| 73 20 43 20 6d 61 6e 79 | 20 79 65 61 72 73 20 61 |s C many| years a|
|000004d0| 67 6f 0d 09 09 09 20 2a | 09 73 74 61 74 65 20 3d |go.... *|.state =|
|000004e0| 20 28 28 69 6e 74 20 2a | 29 6c 74 61 62 5f 70 74 | ((int *|)ltab_pt|
|000004f0| 72 2d 3e 6c 6c 64 65 66 | 61 75 6c 74 29 5b 73 74 |r->lldef|ault)[st|
|00000500| 61 74 65 5d 3b 0d 09 09 | 09 20 2a 2f 0d 09 09 09 |ate];...|. */....|
|00000510| 73 74 61 74 65 20 3d 20 | 28 28 69 6e 74 20 2a 29 |state = |((int *)|
|00000520| 6c 74 61 62 5f 70 74 72 | 2d 3e 6c 6c 64 65 66 61 |ltab_ptr|->lldefa|
|00000530| 75 6c 74 29 5b 73 74 61 | 74 65 5d 3b 0d 09 09 09 |ult)[sta|te];....|
|00000540| 2f 2a 20 73 74 61 74 65 | 20 3d 20 62 61 73 65 3b |/* state| = base;|
|00000550| 20 2a 2f 0d 09 09 09 7d | 0d 09 09 65 6c 73 65 20 | */....}|...else |
|00000560| 7b 0d 09 09 09 72 65 74 | 75 72 6e 28 2d 31 29 3b |{....ret|urn(-1);|
|00000570| 0d 09 09 09 7d 0d 09 72 | 65 74 75 72 6e 28 28 28 |....}..r|eturn(((|
|00000580| 69 6e 74 20 2a 29 6c 74 | 61 62 5f 70 74 72 2d 3e |int *)lt|ab_ptr->|
|00000590| 6c 6c 6e 65 78 74 29 5b | 62 61 73 65 5d 29 3b 0d |llnext)[|base]);.|
|000005a0| 09 7d 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.}......|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000610| 20 20 20 20 6e 6e 6e 2e | 6e 6e 3b 0d 20 20 54 49 | nnn.|nn;. TI|
|00000620| 54 4c 45 3a 09 4c 45 58 | 20 2d 20 41 20 4c 65 78 |TLE:.LEX| - A Lex|
|00000630| 07 4c 4d 4f 56 49 2e 43 | 02 00 00 00 54 45 4d 50 |.LMOVI.C|....TEMP|
|00000640| 44 53 45 41 00 00 00 00 | 00 00 00 00 00 00 2d 72 |DSEA....|......-r|
|00000650| 00 00 54 45 4d 50 44 53 | 45 41 00 00 00 00 00 00 |..TEMPDS|EA......|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 a5 3c 63 d9 00 00 | 05 23 00 00 01 7e 20 44 |...<c...|.#...~ D|
|00000680| 45 53 43 52 49 50 54 49 | 4f 4e 3a 20 20 20 41 20 |ESCRIPTI|ON: A |
|00000690| 4c 65 78 69 63 61 6c 20 | 41 6e 61 6c 79 73 65 72 |Lexical |Analyser|
|000006a0| 20 47 65 6e 65 72 61 74 | 6f 72 2e 20 46 72 6f 6d | Generat|or. From|
|000006b0| 20 55 4e 49 58 0d 20 20 | 4b 45 59 57 4f 52 44 53 | UNIX. |KEYWORDS|
|000006c0| 3a 20 20 20 20 20 20 4c | 65 78 69 63 61 6c 20 41 |: L|exical A|
|000006d0| 6e 61 6c 79 73 65 72 20 | 47 65 6e 65 72 61 74 6f |nalyser |Generato|
|000006e0| 72 20 59 41 43 43 20 43 | 20 50 52 45 50 0d 20 20 |r YACC C| PREP. |
|000006f0| 53 59 53 54 45 4d 3a 09 | 49 42 4d 2d 50 43 20 61 |SYSTEM:.|IBM-PC a|
|00000700| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 06 | 00 04 00 3c 00 24 01 53 |........|...<.$.S|
|00000730| 01 bd 00 3c 00 24 01 53 | 01 bd a2 24 67 04 00 00 |...<.$.S|...$g...|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000750| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 19 47 f2 |...L...L|...2..G.|
|00000760| 0d 3a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.:.....2|..MPSR..|
|00000770| 00 0a 03 ed ff ff 00 00 | 00 00 00 19 47 ae 00 00 |........|....G...|
+--------+-------------------------+-------------------------+--------+--------+